<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
	<head>
	<title><tiles:insertAttribute name="title" /></title>
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/resources/favicon.jpg">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="${pageContext.request.contextPath}/resources/bootstrap/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/easyui/themes/icon.css">
	
	<script src="${pageContext.request.contextPath}/resources/bootstrap/js/jquery.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/resources/easyui/js/jquery.easyui.min.js"></script>

<style type="text/css">
.bg-content{
	padding-left: 20px;
}
</style>	 
</head>

<body style="height: 800px;">

	<tiles:insertAttribute name="body" />
	
	<script type="text/javascript">
		if(window.parent!=null){
			$(window.parent.document).find("iframe").load(function () {
			    var main = $(window.parent.document).find("iframe");
			    var thisheight = $(document).height() + 30;
			    main.height(thisheight);
			});
		}
	</script>
	<script src="${pageContext.request.contextPath}/resources/bootstrap/js/bootstrap.min.js"></script>
<%-- 	<script src="${pageContext.request.contextPath}/resources/bootstrap/js/docs.min.js"></script> --%>
	<script src="${pageContext.request.contextPath}/resources/bootstrap/js/ie-emulation-modes-warning.js"></script>
	
	<script src="${pageContext.request.contextPath}/resources/easyui-edit.js"></script>
</body>
</html>